package com.jetinno.syrup2.upgrade;

/**
 * Created by User on 2018/3/29.
 */

public class UpgradeConst {

    //YModem Protocol Constant
    public static final int MAX_RETRY_TIMES = 5;
    public static final int MAX_BLOCK_SIZE = 128;
    public static final int MAX_1K_BLOCK_SIZE = 1024;
    public static final int MAX_FILE_NAME_SIZE = 64;

    public static final byte SOH = 0x01;
    public static final byte STX = 0x02;
    public static final byte EOT = 0x04;
    public static final byte ACK = 0x06;
    public static final byte NAK = 0x15;
    public static final byte CAN = 0x18;
    public static final byte C = 0x43;

}
